﻿package mortal.game.net
{
    import Framework.MQ.*;
    import Message.Command.*;
    import __AS3__.vec.*;
    import com.gengine.core.frame.*;
    import com.gengine.debug.*;
    import com.gengine.global.*;
    import flash.utils.*;
    import mortal.common.tools.*;
    import mortal.component.window.*;
    import mortal.game.manager.*;
    import mortal.game.net.broadCast.*;
    import mortal.game.net.command.*;
    import mortal.game.net.command.LevelReward.*;
    import mortal.game.net.command.achievement.*;
    import mortal.game.net.command.arena.*;
    import mortal.game.net.command.autoArena.*;
    import mortal.game.net.command.battle.*;
    import mortal.game.net.command.battlefield.*;
    import mortal.game.net.command.buff.*;
    import mortal.game.net.command.chat.*;
    import mortal.game.net.command.closedBetaGiftBagnew.*;
    import mortal.game.net.command.collectExchange.*;
    import mortal.game.net.command.copy.*;
    import mortal.game.net.command.copy.challengeCopy.*;
    import mortal.game.net.command.copy.defenseCopy.*;
    import mortal.game.net.command.copy.escortCopy.*;
    import mortal.game.net.command.copy.expCopy.*;
    import mortal.game.net.command.copy.groupCopy.*;
    import mortal.game.net.command.copy.guildCopy.*;
    import mortal.game.net.command.copy.petBreakCopy.*;
    import mortal.game.net.command.copy.sunbathCopy.*;
    import mortal.game.net.command.drugPack.*;
    import mortal.game.net.command.fashion.*;
    import mortal.game.net.command.fashionOnline.*;
    import mortal.game.net.command.firstRecharge.*;
    import mortal.game.net.command.forging.*;
    import mortal.game.net.command.friend.*;
    import mortal.game.net.command.friendBless.*;
    import mortal.game.net.command.gem.*;
    import mortal.game.net.command.group.*;
    import mortal.game.net.command.guild.*;
    import mortal.game.net.command.guildWar.*;
    import mortal.game.net.command.guildWineParty.*;
    import mortal.game.net.command.heroArena.*;
    import mortal.game.net.command.investment.*;
    import mortal.game.net.command.lookPlayerInfo.*;
    import mortal.game.net.command.lottery.*;
    import mortal.game.net.command.mail.*;
    import mortal.game.net.command.mainCity.*;
    import mortal.game.net.command.market.*;
    import mortal.game.net.command.medal.*;
    import mortal.game.net.command.mount.*;
    import mortal.game.net.command.pack.*;
    import mortal.game.net.command.pet.*;
    import mortal.game.net.command.player.*;
    import mortal.game.net.command.promotCard.*;
    import mortal.game.net.command.ranking.*;
    import mortal.game.net.command.redPacket.*;
    import mortal.game.net.command.shop.*;
    import mortal.game.net.command.sixBoss.*;
    import mortal.game.net.command.skill.*;
    import mortal.game.net.command.task.*;
    import mortal.game.net.command.title.*;
    import mortal.game.net.command.tower.*;
    import mortal.game.net.command.trade.*;
    import mortal.game.net.command.treasureHunt.*;
    import mortal.game.net.command.tresureMap.*;
    import mortal.game.net.command.uniqueBoss.*;
    import mortal.game.net.command.vip.*;
    import mortal.game.net.command.wardrobe.*;
    import mortal.game.net.command.wizard.*;
    import mortal.game.net.command.worldBoss.*;
    import mortal.game.net.command.worldLevel.*;
    import mortal.game.net.command.yyZiZuan.*;
    import mortal.game.view.FirstRechargeDay500.rechargeAct11.*;
    import mortal.game.view.FirstRechargeDay500.rechargeDaily.*;
    import mortal.game.view.LineOffReward.command.*;
    import mortal.game.view.ThanksGiving.command.*;
    import mortal.game.view.blackMarket.*;
    import mortal.game.view.combinedServer.command.*;
    import mortal.game.view.copy.GroupTowerCopy.command.*;
    import mortal.game.view.copy.QuestionCopy.command.*;
    import mortal.game.view.copy.crossMainCity.mainCityExpAddition.*;
    import mortal.game.view.copy.singleTowerCopy2.command.*;
    import mortal.game.view.guildNew.mercenary.data.*;
    import mortal.game.view.lotteryDraw.*;
    import mortal.game.view.mainUI.smallMap.*;
    import mortal.game.view.mining.*;
    import mortal.game.view.platform.*;
    import mortal.game.view.rebate.command.*;
    import mortal.game.view.rebate.openNewSerSevenDay.command.*;
    import mortal.game.view.rebate.openServerSevenDay.command.*;
    import mortal.game.view.rebate.shop.command.*;
    import mortal.game.view.signUp.lineOn.command.*;
    import mortal.game.view.signUp.sevenDayLogin.command.*;
    import mortal.game.view.skill.command.*;
    import mortal.game.view.systemSetting.command.*;
    import mortal.game.view.tianDiRank.command.*;
    import mortal.game.view.worship.*;
    import mortal.mvc.core.*;

    public class MessageHandler extends Object implements IMessageHandler
    {
        protected var _broadCastManager:BroadCastManager;
        protected var _timer:FrameTimer;
        protected var _mbs:Vector.<MessageBlock>;

        public function MessageHandler()
        {
            this._mbs = new Vector.<MessageBlock>;
            this._broadCastManager = BroadCastManager.instance;
            this.registerCall();
            this._timer = new FrameTimer();
            this._timer.addListener(TimerType.ENTERFRAME, this.onEnterFrame);
            this._timer.start();
            return;
        }// end function

        protected function registerCall() : void
        {
            this._broadCastManager.registerCall(new SystemTimeCommand(EPublicCommand._ECmdPublicSystemTime));
            this._broadCastManager.registerCall(new ErrorMsgCommand(EPublicCommand._ECmdPublicErrorMsg));
            this._broadCastManager.registerCall(new NoticeMsgCommand(EPublicCommand._ECmdPublicNoticeBroadcastMsg));
            this._broadCastManager.registerCall(new NoticeMsgCommand(EGateCommand._ECmdGateGuildMsg));
            this._broadCastManager.registerCall(new NoticeMsgCommand(EPublicCommand._ECmdPublicBattleFieldBroadcastMsg));
            this._broadCastManager.registerCall(new NoticeMsgCommand(EPublicCommand._ECmdPublicGuildWarBroadcastMsg));
            this._broadCastManager.registerCall(new NoticeMsgCommand(EPublicCommand._ECmdPublicNoticeBroadcastGuildMsg));
            this._broadCastManager.registerCall(new NoticeMsgCommand(EPublicCommand._ECmdPublicDefenseCopyBroadcast));
            this._broadCastManager.registerCall(new PositionUpdateCommand(EGateCommand._ECmdGatePositionUpdate));
            this._broadCastManager.registerCall(new MoneyUpdateCommand(EGateCommand._ECmdGateMoneyUpdate));
            this._broadCastManager.registerCall(new FightAttributeBaseCommand(EPublicCommand._ECmdPublicFightAttributeBase));
            this._broadCastManager.registerCall(new FightAttributeCommand(EPublicCommand._ECmdPublicFightAttributeExtra));
            this._broadCastManager.registerCall(new FightAttributeCommand(EPublicCommand._ECmdPublicFightAttribute));
            this._broadCastManager.registerCall(new FightAttributeCommand(EPublicCommand._ECmdPublicFightAttributeAll));
            this._broadCastManager.registerCall(new RoleUpdateCommand(EGateCommand._ECmdGateRoleUpdate));
            this._broadCastManager.registerCall(new IssmCommand(EGateCommand._ECmdGateIssm));
            this._broadCastManager.registerCall(new LookPlayerInfoReplyCommand(EPublicCommand._ECmdPublicLookPlayerInfoReply));
            this._broadCastManager.registerCall(new LookPetInfoReplyCommand(EPublicCommand._ECmdPublicLookPetInfoReply));
            this._broadCastManager.registerCall(new MountCommand(EGateCommand._ECmdGateMount));
            this._broadCastManager.registerCall(new MountUpdateCommand(EGateCommand._ECmdGateMountUpdate));
            this._broadCastManager.registerCall(new MountCardInfoCommand(EGateCommand._ECmdGateMountCardInfo));
            this._broadCastManager.registerCall(new MountCardUpdataCommand(EGateCommand._ECmdGateMountCardUpdate));
            this._broadCastManager.registerCall(new PackInfoCommand(EGateCommand._ECmdGateBag));
            this._broadCastManager.registerCall(new PackItemCommand(EGateCommand._ECmdGatePlayerItemUpdate));
            this._broadCastManager.registerCall(new DrugPackCommand(EGateCommand._ECmdGateDrugBagInfo));
            this._broadCastManager.registerCall(new MailNoticeCommand(EGateCommand._ECmdGateMailNotice));
            this._broadCastManager.registerCall(new MarketSearchCommand(EGateCommand._ECmdGateMarketSearch));
            this._broadCastManager.registerCall(new MarketResultSellItemCommand(EGateCommand._ECmdGateMarketResultSellItem));
            this._broadCastManager.registerCall(new MarketResultSeekBuyCommand(EGateCommand._ECmdGateMarketResultSeekBuy));
            this._broadCastManager.registerCall(new MarketResultBuyItemCommand(EGateCommand._ECmdGateMarketResultBuyItem));
            this._broadCastManager.registerCall(new MarketGetMyRecordsCommand(EGateCommand._ECmdGateMarketGetMyRecords));
            this._broadCastManager.registerCall(new MarketCancelSellCommand(EGateCommand._ECmdGateMarketResultCancelSell));
            this._broadCastManager.registerCall(new MarketCancelSeekBuyCommand(EGateCommand._ECmdGateMarketResultCancelSeekBuy));
            this._broadCastManager.registerCall(new TradeCommand(EPublicCommand._ECmdPublicBusiness));
            this._broadCastManager.registerCall(new TradeCommand(EPublicCommand._ECmdPublicBusinessApplySuccessful));
            this._broadCastManager.registerCall(new SystemSettingCommand(EGateCommand._ECmdGateClientSetting));
            this._broadCastManager.registerCall(new SkillListCommand(EGateCommand._ECmdGateSkill));
            this._broadCastManager.registerCall(new SkillListCommand(EGateCommand._ECmdGateSkillsUpdate));
            this._broadCastManager.registerCall(new SkillUpdateCommand(EGateCommand._ECmdGateSkillUpdate));
            this._broadCastManager.registerCall(new ItemCdCommand(EGateCommand._ECmdGateDrugCanUseDt));
            this._broadCastManager.registerCall(new BuffUpdateCommand(EGateCommand._ECmdGateBuffUpdate));
            this._broadCastManager.registerCall(new BuffEntityUpdateCommand(ECmdBroadCast._ECmdBroadcastEntityBuffUpdate));
            this._broadCastManager.registerCall(new NewPetCommand(EGateCommand._ECmdGatePet2Info));
            this._broadCastManager.registerCall(new NewPetCommand(EGateCommand._ECmdGatePet2Update));
            this._broadCastManager.registerCall(new NewPetCommand(EGateCommand._ECmdGatePetSkillUpdate));
            this._broadCastManager.registerCall(new GroupInfoCommand(EPublicCommand._ECmdPublicGroupInfo));
            this._broadCastManager.registerCall(new GroupOperCommand(EPublicCommand._ECmdPublicGroupOper));
            this._broadCastManager.registerCall(new GroupDisbandCommand(EPublicCommand._ECmdPublicGroupDisband));
            this._broadCastManager.registerCall(new GetGroupInfosBackCommand(EPublicCommand._ECmdPublicGetGroupInfosBack));
            this._broadCastManager.registerCall(new GroupLeaveCommand(EPublicCommand._ECmdPublicGroupLeft));
            this._broadCastManager.registerCall(new GroupSettingUpdateCommand(EPublicCommand._ECmdPublicGroupSettingUpdate));
            this._broadCastManager.registerCall(new GroupKickOutCommand(EPublicCommand._ECmdPublicGroupKickOut));
            this._broadCastManager.registerCall(new GroupMemberUpdateCommand(EPublicCommand._ECmdPublicGroupMemberUpdate));
            this._broadCastManager.registerCall(new GroupMemberPosUpdate(EPublicCommand._ECmdPublicGroupMemberPos));
            this._broadCastManager.registerCall(new SpriteInfoCommand(EGateCommand._ECmdGateSpriteInfo));
            this._broadCastManager.registerCall(new WizardUpdateCommand(EPublicCommand._ECmdPublicSpriteUpdate));
            this._broadCastManager.registerCall(new SpriteEvlutionFailCommand(EPublicCommand._ECmdPublicSpriteEvlutionFail));
            this._broadCastManager.registerCall(new SecKillingUpdateCommand(EGateCommand._ECmdGatePanicBuyRefresh));
            this._broadCastManager.registerCall(new SecKillingUpdateCommand(EGateCommand._ECmdGatePanicBuyPlayer));
            this._broadCastManager.registerCall(new SecKillingUpdateCommand(EGateCommand._ECmdGatePanicBuyItem));
            this._broadCastManager.registerCall(new BuyBackCommand(EGateCommand._ECmdGateBuyBack));
            this._broadCastManager.registerCall(new BuyBackUpdateCommand(EGateCommand._ECmdGateBuyBackUpdate));
            this._broadCastManager.registerCall(new TaskCanGetRecvCommand(EGateCommand._ECmdGateTaskCanGet));
            this._broadCastManager.registerCall(new TaskCanGetAddCommand(EGateCommand._ECmdGateTaskAddCanGet));
            this._broadCastManager.registerCall(new TaskCanGetDelCommand(EGateCommand._ECmdGateTaskRemoveCanGet));
            this._broadCastManager.registerCall(new TaskDoingRecvCommand(EGateCommand._ECmdGateTaskMy));
            this._broadCastManager.registerCall(new TaskDoingDelCommand(EGateCommand._ECmdGateTaskRemoveMy));
            this._broadCastManager.registerCall(new TaskDoingAddCommand(EGateCommand._ECmdGateTaskAddMy));
            this._broadCastManager.registerCall(new TaskUpdateCommand(EGateCommand._ECmdGateTaskUpdate));
            this._broadCastManager.registerCall(new FriendApplyCommand(EGateCommand._ECmdGateFriendApply));
            this._broadCastManager.registerCall(new FriendReplyCommand(EGateCommand._ECmdGateFriendReply));
            this._broadCastManager.registerCall(new FriendUpdateCommand(EGateCommand._ECmdGateFriendRecord));
            this._broadCastManager.registerCall(new FriendOnlineOfflineCommand(EGateCommand._ECmdGateFriendOnlineStatus));
            this._broadCastManager.registerCall(new FriendRemoveCommand(EGateCommand._ECmdGateFriendRemove));
            this._broadCastManager.registerCall(new FriendInfoUpdateCommand(EGateCommand._ECmdGateFriendInfoUpdate));
            this._broadCastManager.registerCall(new GetAllFriendRecordCommand(EGateCommand._ECmdGateFriendInfo));
            this._broadCastManager.registerCall(new FriendRecommendCommand(EGateCommand._ECmdGateFriendFriendRecommend));
            this._broadCastManager.registerCall(new FlowerSendCommand(EGateCommand._ECmdGateFriendSendFlower));
            this._broadCastManager.registerCall(new FlowerSendCommand(EGateCommand._ECmdGateFriendKiss));
            this._broadCastManager.registerCall(new FlowerSendCommand(EPublicCommand._ECmdPublicBroadCastFlower));
            this._broadCastManager.registerCall(new ChatMessageCommand(EGateCommand._ECmdGateChatMsg));
            this._broadCastManager.registerCall(new ChatMessageCommand(EPublicCommand._ECmdPublicBeForbidTalkFreeze));
            this._broadCastManager.registerCall(new StrengthenValidateCommand(EGateCommand._ECmdGateStrength));
            this._broadCastManager.registerCall(new RuneUpdateCommand(EGateCommand._ECmdGateRuneUpdate));
            this._broadCastManager.registerCall(new GuildCommand(EPublicCommand._ECmdPublicGuildInvite));
            this._broadCastManager.registerCall(new GuildCommand(EPublicCommand._ECmdPublicGuildImpeach));
            this._broadCastManager.registerCall(new GuildCommand(EPublicCommand._ECmdPublicGuildLeaderImpeachEnd));
            this._broadCastManager.registerCall(new GuildCommand(EPublicCommand._ECmdPublicGuildApplyNum));
            this._broadCastManager.registerCall(new GuildCommand(EPublicCommand._ECmdPublicGuildNewMember));
            this._broadCastManager.registerCall(new GuildCommand(EPublicCommand._ECmdPublicGuildAttributeUpdate));
            this._broadCastManager.registerCall(new GuildCommand(EPublicCommand._ECmdPublicPlayerGuildInfoUpdate));
            this._broadCastManager.registerCall(new GuildCommand(EPublicCommand._ECmdPublicGuildMemberInfoUpdate));
            this._broadCastManager.registerCall(new GuildCommand(EPublicCommand._ECmdPublicGuildKickOut));
            this._broadCastManager.registerCall(new GuildCommand(EPublicCommand._ECmdPublicPlayerExitGuild));
            this._broadCastManager.registerCall(new GuildCommand(EPublicCommand._ECmdPublicJoinGuildResult));
            this._broadCastManager.registerCall(new GuildCommand(EPublicCommand._ECmdPublicDisbandGuild));
            this._broadCastManager.registerCall(new GuildCommand(EPublicCommand._ECmdPublicCreateBranchGuild));
            this._broadCastManager.registerCall(new GuildCommand(EPublicCommand._ECmdPublicWarningMemberNum));
            this._broadCastManager.registerCall(new GuildCommand(EPublicCommand._ECmdPublicExcellentMemberNum));
            this._broadCastManager.registerCall(new GuildCommand(EPublicCommand._ECmdPublicGuildPositionModify));
            this._broadCastManager.registerCall(new GuildCommand(EPublicCommand._ECmdPublicGuildWarehouseApplyNum));
            this._broadCastManager.registerCall(new GuildCommand(EPublicCommand._ECmdPublicGuildWarehouseUpdate));
            this._broadCastManager.registerCall(new GuildCommand(EPublicCommand._ECmdPublicGuildActivity));
            this._broadCastManager.registerCall(new GuildCommand(EPublicCommand._ECmdPublicGuildApplyCondition));
            this._broadCastManager.registerCall(new GuildCommand(EGateCommand._ECmdGateTaskGuildCreated));
            this._broadCastManager.registerCall(new GuildCommand(EPublicCommand._ECmdPublicGuildGarden));
            this._broadCastManager.registerCall(new GuildNewMercenaryCommand(EPublicCommand._ECmdPublicGuildMercenaryUpdate));
            this._broadCastManager.registerCall(new GuildNewMercenaryMoneyCommand(EPublicCommand._ECmdPublicMyMercenaryMoney));
            this._broadCastManager.registerCall(new TaskShowHideCommand(EGateCommand._ECmdGateTaskShow));
            this._broadCastManager.registerCall(new LotteryCommand(EPublicCommand._ECmdPublicLotteryHistorys));
            this._broadCastManager.registerCall(new LotteryCommand(EPublicCommand._ECmdPublicLotteryHistoryAdd));
            this._broadCastManager.registerCall(new TaskEffectCommand(EGateCommand._ECmdGateTaskAddEffect));
            this._broadCastManager.registerCall(new BattleFieldCommand(EPublicCommand._ECmdPublicOpenBattleField));
            this._broadCastManager.registerCall(new BattleFieldCommand(EPublicCommand._ECmdPublicCloseBattleField));
            this._broadCastManager.registerCall(new BattleFieldCommand(EPublicCommand._ECmdPublicBattleFieldForceScore));
            this._broadCastManager.registerCall(new BattleFieldCommand(EPublicCommand._ECmdPublicBattleFieldPlayerScore));
            this._broadCastManager.registerCall(new BattleFieldCommand(EPublicCommand._ECmdPublicBattleFieldBattleBegin));
            this._broadCastManager.registerCall(new BattleFieldCommand(EPublicCommand._ECmdPublicBattleFieldResult));
            this._broadCastManager.registerCall(new BattleFieldCommand(EPublicCommand._ECmdPublicBattleFieldBeKill));
            this._broadCastManager.registerCall(new BattleFieldCommand(EPublicCommand._ECmdPublicBattleFieldForceTerminated));
            this._broadCastManager.registerCall(new BattleFieldCommand(EPublicCommand._ECmdPublicBattleFieldContinueCut));
            this._broadCastManager.registerCall(new BattleFieldCommand(EPublicCommand._ECmdPublicBattleFieldContinueCutTerminated));
            this._broadCastManager.registerCall(new GuildWarCommand(EPublicCommand._ECmdPublicOpenGuildWar));
            this._broadCastManager.registerCall(new GuildWarCommand(EPublicCommand._ECmdPublicCloseGuildWar));
            this._broadCastManager.registerCall(new GuildWarCommand(EPublicCommand._ECmdPublicGuildWarInfo));
            this._broadCastManager.registerCall(new GuildWarCommand(EPublicCommand._ECmdPublicGuildWarPlayerScore));
            this._broadCastManager.registerCall(new GuildWarCommand(EPublicCommand._ECmdPublicGuildWarGuildScore));
            this._broadCastManager.registerCall(new GuildWarCommand(EPublicCommand._ECmdPublicGuildWarResult));
            this._broadCastManager.registerCall(new GuildWarCommand(EPublicCommand._ECmdPublicGuildWarSingleTime));
            this._broadCastManager.registerCall(new GuildWarCommand(EPublicCommand._ECmdPublicGuildWarPlayerScores));
            this._broadCastManager.registerCall(new CopyCommand(EPublicCommand._ECmdPublicCopyPassInto));
            this._broadCastManager.registerCall(new CopyCommand(EPublicCommand._ECmdPublicCopyRePassInto));
            this._broadCastManager.registerCall(new CopyCommand(EPublicCommand._ECmdPublicCopyLeft));
            this._broadCastManager.registerCall(new CopyFirstBloodCommand(EPublicCommand._ECmdPublicCopyFirstBloodReward));
            this._broadCastManager.registerCall(new CopyFirstBloodCommand(EPublicCommand._ECmdPublicCopyFirstBloodRewardUpdate));
            this._broadCastManager.registerCall(new EscortCopyCommand(EPublicCommand._ECmdPublicEscortOpen));
            this._broadCastManager.registerCall(new EscortCopyCommand(EPublicCommand._ECmdPublicEscortClose));
            this._broadCastManager.registerCall(new EscortCopyCommand(EPublicCommand._ECmdPublicEscortSelectTask));
            this._broadCastManager.registerCall(new EscortCopyCommand(EPublicCommand._ECmdPublicEscortEscortInfo));
            this._broadCastManager.registerCall(new EscortCopyCommand(EPublicCommand._ECmdPublicEscortRobInfo));
            this._broadCastManager.registerCall(new EscortCopyCommand(EPublicCommand._ECmdPublicEscortApplyEscort));
            this._broadCastManager.registerCall(new EscortCopyCommand(EPublicCommand._ECmdPublicEscortApplyRob));
            this._broadCastManager.registerCall(new EscortCopyCommand(EPublicCommand._ECmdPublicEscortCanEnter));
            this._broadCastManager.registerCall(new EscortCopyCommand(EPublicCommand._ECmdPublicEscortPlayerEscortInfo));
            this._broadCastManager.registerCall(new EscortCopyCommand(EPublicCommand._ECmdPublicEscortPlayerRobInfo));
            this._broadCastManager.registerCall(new EscortCopyCommand(EPublicCommand._ECmdPublicEscortSkill));
            this._broadCastManager.registerCall(new EscortCopyCommand(EPublicCommand._ECmdPublicRobEscortSuccess));
            this._broadCastManager.registerCall(new EscortCopyCommand(EPublicCommand._ECmdPublicEscortDeath));
            this._broadCastManager.registerCall(new EscortCopyCommand(EPublicCommand._ECmdPublicEscortSignUpNum));
            this._broadCastManager.registerCall(new EscortCopyCommand(EPublicCommand._ECmdPublicEscortFirstRobName));
            this._broadCastManager.registerCall(new SunbathCopyCommand(EPublicCommand._ECmdPublicSunBathNotice));
            this._broadCastManager.registerCall(new SunbathCopyCommand(EPublicCommand._ECmdPublicSunBathOpen));
            this._broadCastManager.registerCall(new SunbathCopyCommand(EPublicCommand._ECmdPublicSunBathClose));
            this._broadCastManager.registerCall(new SunbathCopyCommand(EPublicCommand._ECmdPublicSunBathEnter));
            this._broadCastManager.registerCall(new SunbathCopyCommand(EPublicCommand._ECmdPublicSunBathOper));
            this._broadCastManager.registerCall(new SunbathCopyCommand(EPublicCommand._ECmdPublicSunBathInfo));
            this._broadCastManager.registerCall(new SunbathCopyCommand(EPublicCommand._ECmdPublicSunBathPlayerInfo));
            this._broadCastManager.registerCall(new SunbathCopyCommand(EPublicCommand._ECmdPublicSunBathPerform));
            this._broadCastManager.registerCall(new GuildCopyCommand(EPublicCommand._ECmdPublicGuildBossOpen));
            this._broadCastManager.registerCall(new GuildCopyCommand(EPublicCommand._ECmdPublicGuildBossClose));
            this._broadCastManager.registerCall(new GuildCopyCommand(EPublicCommand._ECmdPublicGuildBossHurtList));
            this._broadCastManager.registerCall(new GuildCopyCommand(EPublicCommand._ECmdPublicGuildBossReward));
            this._broadCastManager.registerCall(new GuildCopyCommand(EPublicCommand._ECmdPublicGuildBossEndRewardToClient));
            this._broadCastManager.registerCall(new GuildCopyCommand(EPublicCommand._ECmdPublicGuildBossRewardAdd));
            this._broadCastManager.registerCall(new GuildCopyCommand(EPublicCommand._ECmdPublicGuildBossRefreshBossTime));
            this._broadCastManager.registerCall(new GuildCopyCommand(EPublicCommand._ECmdPublicGuildBossCopyTime));
            this._broadCastManager.registerCall(new DefenseCopyCommand(EPublicCommand._ECmdPublicEndDefenseCopy));
            this._broadCastManager.registerCall(new DefenseCopyCommand(EPublicCommand._ECmdPublicDefenseInfo));
            this._broadCastManager.registerCall(new DefenseCopyCommand(EPublicCommand._ECmdPublicDefenseCopyReward));
            this._broadCastManager.registerCall(new DefenseCopyCommand(EPublicCommand._ECmdPublicDefenseCopyItemBuy));
            this._broadCastManager.registerCall(new DefenseCopyCommand(EPublicCommand._ECmdPublicDefenseCopyItemBuyUpdate));
            this._broadCastManager.registerCall(new DefenseCopyCommand(EPublicCommand._ECmdPublicDefenseCopyAttrsUpdate));
            this._broadCastManager.registerCall(new DefenseCopyCommand(EPublicCommand._ECmdPublicDefenseCopySkillCd));
            this._broadCastManager.registerCall(new DefenseCopyCommand(EPublicCommand._ECmdPublicDefenseCopyMustDrop));
            this._broadCastManager.registerCall(new DefenseCopyCommand(EPublicCommand._ECmdPublicDefenseGoldStuffLifeUpdate));
            this._broadCastManager.registerCall(new ChallengeCopyCommand(EPublicCommand._ECmdPublicChallengeCopyInfo));
            this._broadCastManager.registerCall(new ChallengeCopyCommand(EPublicCommand._ECmdPublicChallengeFail));
            this._broadCastManager.registerCall(new ChallengeCopyCommand(EPublicCommand._ECmdPublicChallengeRewards));
            this._broadCastManager.registerCall(new ChallengeCopyCommand(EPublicCommand._ECmdPublicChallengeTime));
            this._broadCastManager.registerCall(new ChallengeCopyCommand(EPublicCommand._ECmdPublicChallengeMopReward));
            this._broadCastManager.registerCall(new TitleCommand(EPublicCommand._ECmdPublicTitles));
            this._broadCastManager.registerCall(new TitleCommand(EPublicCommand._ECmdPublicUpdateTitle));
            this._broadCastManager.registerCall(new TitleCommand(EPublicCommand._ECmdPublicUpdateTitleShow));
            this._broadCastManager.registerCall(new SmallMapCommand(ECmdBroadCast._ECmdBroadcastMapEntityPoint));
            this._broadCastManager.registerCall(new SmallMapShortEntityCommand(EPublicCommand._ECmdPublicShortMapEntity));
            this._broadCastManager.registerCall(new WardrobeCommand(EGateCommand._ECmdGateFashionHideUpdate));
            this._broadCastManager.registerCall(new WardrobeCommand(EGateCommand._ECmdGateFashionOutOfDate));
            this._broadCastManager.registerCall(new FightFailCommand(EPublicCommand._ECmdPublicFightFail));
            this._broadCastManager.registerCall(new PetBreakCopyCommand(EGateCommand._ECmdGatePetBreakInfo));
            this._broadCastManager.registerCall(new PetBreakCopyCommand(EPublicCommand._ECmdPublicEndPetBreakCopy));
            this._broadCastManager.registerCall(new PetBreakCopyCommand(EPublicCommand._ECmdPublicPetBreakTime));
            this._broadCastManager.registerCall(new PetBreakCopyCommand(EPublicCommand._ECmdPublicPetBreakSkill));
            this._broadCastManager.registerCall(new RankingCommand(EPublicCommand._ECmdPublicToplistUpdate));
            this._broadCastManager.registerCall(new RankingCommand(EPublicCommand._ECmdPublicVotePlayerResult));
            this._broadCastManager.registerCall(new VipItemRewardCommand(EGateCommand._ECmdGateVipItemReward));
            this._broadCastManager.registerCall(new VipFreeInfoCommand(EGateCommand._ECmdGateVipInfo));
            this._broadCastManager.registerCall(new WorldLevelCommand(EPublicCommand._ECmdPublicWorldLevel));
            this._broadCastManager.registerCall(new TowerCopyCommand(EPublicCommand._ECmdPublicTowerPass));
            this._broadCastManager.registerCall(new TowerCopyCommand(EPublicCommand._ECmdPublicTowerCopyInfo));
            this._broadCastManager.registerCall(new TowerCopyCommand(EPublicCommand._ECmdPublicTowerTopListUpdate));
            this._broadCastManager.registerCall(new TowerCopyCommand(EPublicCommand._ECmdPublicTowerEnd));
            this._broadCastManager.registerCall(new TowerCopyCommand(EPublicCommand._ECmdPublicTowerCopy2Pass));
            this._broadCastManager.registerCall(new TowerCopyCommand(EPublicCommand._ECmdPublicTowerCopy2Info));
            this._broadCastManager.registerCall(new TowerCopyCommand(EPublicCommand._ECmdPublicTowerCopy2End));
            this._broadCastManager.registerCall(new TowerCopyCommand(EPublicCommand._ECmdPublicTowerCopy2ScanEnd));
            this._broadCastManager.registerCall(new TowerCopyCommand(EPublicCommand._ECmdPublicTowerCopy2DropEnd));
            this._broadCastManager.registerCall(new TowerCopyCommand(EGateCommand._ECmdGateTower));
            this._broadCastManager.registerCall(new TowerCopyCommand(EGateCommand._ECmdGateTowerUpdate));
            this._broadCastManager.registerCall(new ArenaCommand(EPublicCommand._ECmdPublicArenaOpen));
            this._broadCastManager.registerCall(new ArenaCommand(EPublicCommand._ECmdPublicArenaClose));
            this._broadCastManager.registerCall(new ArenaCommand(EPublicCommand._ECmdPublicArenaSignUp));
            this._broadCastManager.registerCall(new ArenaCommand(EPublicCommand._ECmdPublicArenaResult));
            this._broadCastManager.registerCall(new ArenaCommand(EPublicCommand._ECmdPublicArenaMatch));
            this._broadCastManager.registerCall(new ArenaCommand(EPublicCommand._ECmdPublicArenaPreOpen));
            this._broadCastManager.registerCall(new ArenaCommand(EPublicCommand._ECmdPublicArenaToplistUpdate));
            this._broadCastManager.registerCall(new ArenaCommand(EPublicCommand._ECmdPublicArenaPlayerUpdate));
            this._broadCastManager.registerCall(new ArenaCommand(EPublicCommand._ECmdPublicArenaBattles));
            this._broadCastManager.registerCall(new ArenaCommand(EPublicCommand._ECmdPublicArenaMyInfo));
            this._broadCastManager.registerCall(new ArenaCommand(EPublicCommand._ECmdPublicArenaBegin));
            this._broadCastManager.registerCall(new ArenaCommand(EPublicCommand._ECmdPublicArenaLeaveArena));
            this._broadCastManager.registerCall(new ArenaCommand(EPublicCommand._ECmdPublicArenaEnterObserve));
            this._broadCastManager.registerCall(new ArenaCommand(EPublicCommand._ECmdPublicArenaLevelInfo));
            this._broadCastManager.registerCall(new ArenaCommand(EPublicCommand._ECmdPublicArenaRewardInfo));
            this._broadCastManager.registerCall(new ArenaCommand(EPublicCommand._ECmdPublicArenaRewardInfoUpdate));
            this._broadCastManager.registerCall(new ArenaCommand(EPublicCommand._ECmdPublicZoneBArenaTopLevel));
            this._broadCastManager.registerCall(new ArenaCommand(EPublicCommand._ECmdPublicArenaTopLevel));
            this._broadCastManager.registerCall(new CopyGroupInfoGetCommand(EPublicCommand._ECmdPublicGetCopyGroupInfo));
            this._broadCastManager.registerCall(new GroupSelfNumCommand(EPublicCommand._ECmdPublicGroupMemberNum));
            this._broadCastManager.registerCall(new GroupCopyInviteProcessCommand(EPublicCommand._ECmdPublicGroupCopyProcess));
            this._broadCastManager.registerCall(new GroupCopyInviteCommand(EPublicCommand._ECmdPublicGroupCopyInvite));
            this._broadCastManager.registerCall(new GroupCopyOpenCommand(EPublicCommand._ECmdPublicCopyGroupOpen));
            this._broadCastManager.registerCall(new LevelRewardCommand(EGateCommand._ECmdGateLevelGiftInfo));
            this._broadCastManager.registerCall(new WorldBossCommand(EPublicCommand._ECmdPublicWorldBossBelong));
            this._broadCastManager.registerCall(new WorldBossCommand(EPublicCommand._ECmdPublicWorldBossHurtList));
            this._broadCastManager.registerCall(new WorldBossCommand(EPublicCommand._ECmdPublicFieldBossHurtList));
            this._broadCastManager.registerCall(new WorldBossCommand(EPublicCommand._ECmdPublicGuildItemBetUpdate));
            this._broadCastManager.registerCall(new WorldBossCommand(EPublicCommand._ECmdPublicGuildItemDiceUpdate));
            this._broadCastManager.registerCall(new FashionOnlineCommand(EGateCommand._ECmdGateOnlineRewardInfo));
            this._broadCastManager.registerCall(new FashionOnlineCommand(EGateCommand._ECmdGateOnlineRewardUpdate));
            this._broadCastManager.registerCall(new AchievementCategoryUpdateCommand(EGateCommand._ECmdGateAchievementCategoryInfoUpdate));
            this._broadCastManager.registerCall(new AchievementTypeUpdateCommand(EGateCommand._ECmdGateAchievementTypeInfoUpdate));
            this._broadCastManager.registerCall(new AchievementHasRewardCommand(EGateCommand._ECmdGateAchievementLogin));
            this._broadCastManager.registerCall(new LineOffRewardGetInfoCommand(EGateCommand._ECmdGateCompensationInfo));
            this._broadCastManager.registerCall(new LineOffRewardCopyUpdateCommand(EGateCommand._ECmdGateCompenInfoUpdate));
            this._broadCastManager.registerCall(new LineOffRewardExpUpdateCommand(EGateCommand._ECmdGateOfflineExpUpdate));
            this._broadCastManager.registerCall(new InvestmentInfoCommand(EGateCommand._ECmdGatePlayerInvestInfo));
            this._broadCastManager.registerCall(new LineOnRewardTimeInfoCommand(EGateCommand._ECmdGateTodayOnlineTimeInfo));
            this._broadCastManager.registerCall(new QuestionOpenCommand(EPublicCommand._ECmdPublicQuestionOpen));
            this._broadCastManager.registerCall(new QuestionQuestionCommand(EPublicCommand._ECmdPublicQuestionQuestion));
            this._broadCastManager.registerCall(new QuestionScoreUpdateCommand(EPublicCommand._ECmdPublicQuestionScoreUpdate));
            this._broadCastManager.registerCall(new QuestionShowAnswerCommand(EPublicCommand._ECmdPublicQuestionShowAnswer));
            this._broadCastManager.registerCall(new QuestionCopyShowPassCommand(EPublicCommand._ECmdPublicQuestionEnd));
            this._broadCastManager.registerCall(new QuestionCloseCommand(EPublicCommand._ECmdPublicQuestionClose));
            this._broadCastManager.registerCall(new FashionCommand(EGateCommand._ECmdGateFashion));
            this._broadCastManager.registerCall(new FashionCommand(EGateCommand._ECmdGateFashionUpdate));
            this._broadCastManager.registerCall(new MiningCommand(EGateCommand._ECmdGateRoutineTaskPanelInfo));
            this._broadCastManager.registerCall(new MiningCommand(EGateCommand._ECmdGateRoutineTaskRefreshPanelInfo));
            this._broadCastManager.registerCall(new MiningCommand(EGateCommand._ECmdGateRoutineTaskInviteInfo));
            this._broadCastManager.registerCall(new MiningCommand(EGateCommand._ECmdGateRoutineTaskUpdate));
            this._broadCastManager.registerCall(new MiningCommand(EGateCommand._ECmdGateRoutineTaskRefreshSuccess));
            this._broadCastManager.registerCall(new PromotCardCommand(EPublicCommand._ECmdPublicPromotCardBack));
            this._broadCastManager.registerCall(new SevenDayLoginInfoCommand(EGateCommand._ECmdGate7DaysLoginRewardInfo));
            this._broadCastManager.registerCall(new TreasureMapUseInfoCommand(EGateCommand._ECmdGateTreasureMapUseInfo));
            this._broadCastManager.registerCall(new FirstRechargeRewardCommand(EGateCommand._ECmdGateDayFirstRechargeReward));
            this._broadCastManager.registerCall(new MoneyCardTimeCommand(EGateCommand._ECmdGateMoneyCardTime));
            this._broadCastManager.registerCall(new WingGetCommmand(EGateCommand._ECmdGateFirstRechargeWingGet));
            this._broadCastManager.registerCall(new RebateOneSevenCommand(EGateCommand._ECmdGateSevenDaysTargetType));
            this._broadCastManager.registerCall(new RebateOtherComCommand(EGateCommand._ECmdGateHitChartTargetType));
            this._broadCastManager.registerCall(new OpenServerSevenDayCommand(EGateCommand._ECmdGateCanTakeSevenDaysTargetAward));
            this._broadCastManager.registerCall(new RebateDayRechargeCommand(EGateCommand._ECmdGateRechargeReturnReward));
            this._broadCastManager.registerCall(new RebateDayTargetHasRewardCommand(EGateCommand._ECmdGateCanTakeHitChartTargetAward));
            this._broadCastManager.registerCall(new RebateShopOnSellItemCommand(EGateCommand._ECmdGateOnSellItemsInfo));
            this._broadCastManager.registerCall(new RebateShopOnSellPlayerCommand(EGateCommand._ECmdGateOnSellPlayerInfo));
            this._broadCastManager.registerCall(new ShopBuyRedcordCommand(EGateCommand._ECmdGateShopBuy));
            this._broadCastManager.registerCall(new OpenNewSerSevCommand(EGateCommand._ECmdGateConsumRewardInfo));
            this._broadCastManager.registerCall(new WinePartyCommand(EPublicCommand._ECmdPublicGuildWinePartyOpen));
            this._broadCastManager.registerCall(new WinePartyCommand(EPublicCommand._ECmdPublicGuildWinePartyEnd));
            this._broadCastManager.registerCall(new WinePartyCommand(EPublicCommand._ECmdPublicGuildWinePartyOpenInfo));
            this._broadCastManager.registerCall(new WinePartyCommand(EPublicCommand._ECmdPublicGuildWinePartyRewardInfo));
            this._broadCastManager.registerCall(new WinePartyCommand(EPublicCommand._ECmdPublicGuildWinePartyRankInfo));
            this._broadCastManager.registerCall(new WinePartyCommand(ECmdBroadCast._ECmdBroadcastEntityToastUpdate));
            this._broadCastManager.registerCall(new WinePartyCommand(ECmdBroadCast._ECmdBroadcastEntityMoraUpdate));
            this._broadCastManager.registerCall(new WinePartyCommand(EGateCommand._ECmdGatePlayerStartMora));
            this._broadCastManager.registerCall(new RedPacketCommand(EPublicCommand._ECmdPublicRedEnvelope));
            this._broadCastManager.registerCall(new RedPacketCommand(EPublicCommand._ECmdPublicRedEnvelopeRob));
            this._broadCastManager.registerCall(new RedPacketCommand(EPublicCommand._ECmdPublicRedEnvelopeRobOut));
            this._broadCastManager.registerCall(new RedPacketCommand(EPublicCommand._ECmdPublicRedEnvelopeUsed));
            this._broadCastManager.registerCall(new RedPacketCommand(EPublicCommand._ECmdPublicRedEnvelopeOpen));
            this._broadCastManager.registerCall(new TianDiRankResultCommand(EPublicCommand._ECmdPublicPlacardChallengeResult));
            this._broadCastManager.registerCall(new TianDiRankCopyInfoCommand(EPublicCommand._ECmdPublicPlacardChallengeInfo));
            this._broadCastManager.registerCall(new TianDiRankBeReplaceCommand(EPublicCommand._ECmdPublicPlacardBeingReplaced));
            this._broadCastManager.registerCall(new TianDiRankPlayerCDCommand(EPublicCommand._ECmdPublicPlacardCopyCD));
            this._broadCastManager.registerCall(new TianDiRankTianCDCommand(EPublicCommand._ECmdPublicHeavenPlacardCopyCD));
            this._broadCastManager.registerCall(new TianDiRankJobBusyCommand(EPublicCommand._ECmdPublicPlacardJobBusy));
            this._broadCastManager.registerCall(new TianDiTianStatusCommand(EPublicCommand._ECmdPublicHeavenPlacardCopyStatus));
            this._broadCastManager.registerCall(new BattleCommand(EPublicCommand._ECmdPublicBattleApply));
            this._broadCastManager.registerCall(new BattleCommand(EPublicCommand._ECmdPublicBattleReply));
            this._broadCastManager.registerCall(new BattleCommand(EPublicCommand._ECmdPublicBattleStart));
            this._broadCastManager.registerCall(new BattleCommand(EPublicCommand._ECmdPublicBattleResult));
            this._broadCastManager.registerCall(new BattleCommand(ECmdBroadCast._ECmdBroadcastEntityToEntityUpdate));
            this._broadCastManager.registerCall(new GuildDefenseCommand(EPublicCommand._ECmdPublicGuildDefenseOpen));
            this._broadCastManager.registerCall(new GuildDefenseCommand(EPublicCommand._ECmdPublicGuildDefenseEnd));
            this._broadCastManager.registerCall(new GuildDefenseCommand(EPublicCommand._ECmdPublicGuildDefenseMemberReward));
            this._broadCastManager.registerCall(new GuildDefenseCommand(EPublicCommand._ECmdPublicGuildDefenseInfo));
            this._broadCastManager.registerCall(new TreasureHuntCommand(EPublicCommand._ECmdPublicRaidersOpen));
            this._broadCastManager.registerCall(new TreasureHuntCommand(EPublicCommand._ECmdPublicRaidersClose));
            this._broadCastManager.registerCall(new TreasureHuntCommand(EPublicCommand._ECmdPublicRaiderPlayerInfo));
            this._broadCastManager.registerCall(new FriendBlessCommand(EGateCommand._ECmdGateFriendCanCongratulate));
            this._broadCastManager.registerCall(new FriendBlessCommand(EGateCommand._ECmdGateFriendCongratulate));
            this._broadCastManager.registerCall(new FriendBlessCommand(EGateCommand._ECmdGateFriendCongratulateInfo));
            this._broadCastManager.registerCall(new MedalUpdateCommand(EGateCommand._ECmdGateMedal));
            this._broadCastManager.registerCall(new AutoArenaCommand(EPublicCommand._ECmdPublicAutoArenaRankInfo));
            this._broadCastManager.registerCall(new AutoArenaCommand(EPublicCommand._ECmdPublicAutoArenaRankUpdate));
            this._broadCastManager.registerCall(new AutoArenaCommand(EPublicCommand._ECmdPublicAutoArenaEnemy));
            this._broadCastManager.registerCall(new AutoArenaCommand(EPublicCommand._ECmdPublicAutoArenaMyInfo));
            this._broadCastManager.registerCall(new AutoArenaCommand(EPublicCommand._ECmdPublicAutoArenaFightReport));
            this._broadCastManager.registerCall(new AutoArenaCommand(EPublicCommand._ECmdPublicAutoArenaHourReward));
            this._broadCastManager.registerCall(new AutoArenaCommand(EPublicCommand._ECmdPublicAutoArenaDayReward));
            this._broadCastManager.registerCall(new AutoArenaCommand(EPublicCommand._ECmdPublicAutoArenaResult));
            this._broadCastManager.registerCall(new AutoArenaCommand(EPublicCommand._ECmdPublicAutoArenaGetToplist));
            this._broadCastManager.registerCall(new AutoArenaCommand(EPublicCommand._ECmdPublicAutoArenaMyRecord));
            this._broadCastManager.registerCall(new TaskGuildTaskShareListCommand(EGateCommand._ECmdGateTaskGuildShareList));
            this._broadCastManager.registerCall(new ForgingCommand(EGateCommand._ECmdGateJewelHole));
            this._broadCastManager.registerCall(new CollectExchangeCommand(EGateCommand._ECmdGateCollectSysInfo));
            this._broadCastManager.registerCall(new ClosedBetaGiftBagCommand(EGateCommand._ECmdGateAgencyRewardInfo));
            this._broadCastManager.registerCall(new SixBossCommand(EPublicCommand._ECmdPublicMonsterSiegeOpen));
            this._broadCastManager.registerCall(new SixBossCommand(EPublicCommand._ECmdPublicMonsterSiegeClose));
            this._broadCastManager.registerCall(new SixBossCommand(EPublicCommand._ECmdPublicMonsterSiegeBossHurtList));
            this._broadCastManager.registerCall(new SixBossCommand(EPublicCommand._ECmdPublicMonsterSiegeBossResult));
            this._broadCastManager.registerCall(new SixBossCommand(EPublicCommand._ECmdPublicMonsterSiegeBossInfo));
            this._broadCastManager.registerCall(new SixBossCommand(EPublicCommand._ECmdPublicMonsterSiegeChangeBoss));
            this._broadCastManager.registerCall(new SixBossCommand(EPublicCommand._ECmdPublicMonsterSiegeCopyEnd));
            this._broadCastManager.registerCall(new GroupTowerCopyCommand(EPublicCommand._ECmdPublicGroupTowerInfo));
            this._broadCastManager.registerCall(new GroupTowerCopyCommand(EPublicCommand._ECmdPublicGroupTowerPass));
            this._broadCastManager.registerCall(new GroupTowerCopyCommand(EPublicCommand._ECmdPublicGroupTowerEnd));
            this._broadCastManager.registerCall(new GroupTowerCopyCommand(EPublicCommand._ECmdPublicGroupTowerHurtInfo));
            this._broadCastManager.registerCall(new SingleTowerCommand(EPublicCommand._ECmdPublicTowerCopy4PanelInfo));
            this._broadCastManager.registerCall(new SingleTowerCommand(EPublicCommand._ECmdPublicTowerCopy4Info));
            this._broadCastManager.registerCall(new SingleTowerCommand(EPublicCommand._ECmdPublicTowerCopy4End));
            this._broadCastManager.registerCall(new NewDayUpdateCommand(EPublicCommand._ECmdPublicNewDayUpdate));
            this._broadCastManager.registerCall(new lotteryDrawCommand(EPublicCommand._ECmdPublicLotteryPoolInfo));
            this._broadCastManager.registerCall(new lotteryDrawCommand(EPublicCommand._ECmdPublicLotteryPoolUpdate));
            this._broadCastManager.registerCall(new lotteryDrawCommand(EPublicCommand._ECmdPublicLotteryToClient));
            this._broadCastManager.registerCall(new lotteryDrawCommand(EPublicCommand._ECmdPublicHideLottery));
            this._broadCastManager.registerCall(new UniqueBossCommand(EPublicCommand._ECmdPublicUniqueBossCopy));
            this._broadCastManager.registerCall(new UniqueBossCommand(EPublicCommand._ECmdPublicUniqueBossRes));
            this._broadCastManager.registerCall(new YYZiZuanCommand(EGateCommand._ECmdGateYYPurpleInfo));
            this._broadCastManager.registerCall(new PlatformCommand(EGateCommand._ECmdGatePlatformGift));
            this._broadCastManager.registerCall(new PlatformCommand(EGateCommand._ECmdGateProxyVipInfo));
            this._broadCastManager.registerCall(new MainCityPositonModifyCommand(EPublicCommand._ECmdPublicMainCityPositonModify));
            this._broadCastManager.registerCall(new WorshipCommand(EGateCommand._ECmdGateMainCityAdoreInfo));
            this._broadCastManager.registerCall(new HeroArenaCommand(EPublicCommand._ECmdPublicArenaTeamInfos));
            this._broadCastManager.registerCall(new HeroArenaCommand(EPublicCommand._ECmdPublicArenaTeamInfoMy));
            this._broadCastManager.registerCall(new HeroArenaCommand(EPublicCommand._ECmdPublicArenaTeamNoTeamPlayers));
            this._broadCastManager.registerCall(new HeroArenaCommand(EPublicCommand._ECmdPublicArenaTeamInvite));
            this._broadCastManager.registerCall(new HeroArenaCommand(EPublicCommand._ECmdPublicArenaTeamJoin));
            this._broadCastManager.registerCall(new HeroArenaCommand(EPublicCommand._ECmdPublicArena2LevelInfo));
            this._broadCastManager.registerCall(new ExpCopyInfoCommand(EGateCommand._ECmdGateEnterExpCopyInfo));
            this._broadCastManager.registerCall(new ExpCopyInfoCommand(EPublicCommand._ECmdPublicExpCopyBalanceInfo));
            this._broadCastManager.registerCall(new ExpCopyInfoCommand(EPublicCommand._ECmdPublicExpCopyHurtInfo));
            this._broadCastManager.registerCall(new RechargeDailyCommand(EGateCommand._ECmdGateEveryTotalRechargeRewards));
            this._broadCastManager.registerCall(new BlackMarketCommand(EPublicCommand._ECmdPublicBlackMarketOnSellItemsInfo));
            this._broadCastManager.registerCall(new BlackMarketCommand(EPublicCommand._ECmdPublicBlackMarketOnSellPlayerInfo));
            this._broadCastManager.registerCall(new RechargeActive11Day200Command(EGateCommand._ECmdGateDouble11CardGiftNum));
            this._broadCastManager.registerCall(new MainCityExpAdditionCommand(EGateCommand._ECmdGateMainCityExpInfo));
            this._broadCastManager.registerCall(new CombinedSerRechargeCommand(EPublicCommand._ECmdPublicMergeInfo));
            this._broadCastManager.registerCall(new CombinedSerRechargeCommand(EGateCommand._ECmdGateMergeRechargeActiveReward));
            this._broadCastManager.registerCall(new CombinedSerRechargeCommand(EGateCommand._ECmdGateMergeRechargeReturnCash));
            this._broadCastManager.registerCall(new ThanksGivingCommand(EGateCommand._ECmdGateThansGivingConsumReward));
            return;
        }// end function

        public function onMessage(param1:MessageBlock) : void
        {
            this.doMessage(param1);
            if (Global.isDebugModle)
            {
                if (!DebugWindow.instance.onlyMsgCode || DebugWindow.instance.onlyMsgCode == param1.messageHead.command)
                {
                    Log.debugMsg(LogType.code, DateParser.parse(ClockManager.instance.nowDate, "hh:mm:ss"), getTimer(), param1.messageHead.command);
                }
            }
            return;
        }// end function

        public function onEnterFrame(param1:FrameTimer) : void
        {
            var _loc_2:int = 0;
            var _loc_3:int = 0;
            var _loc_4:MessageBlock = null;
            if (!param1.isRepair)
            {
                if (this._mbs.length)
                {
                    _loc_2 = this._mbs.length / 3;
                    _loc_2 = _loc_2 > 3 ? (_loc_2) : (3);
                    _loc_3 = 0;
                    while (_loc_3 < _loc_2)
                    {
                        
                        _loc_4 = this._mbs.shift();
                        this.doMessage(_loc_4);
                        _loc_3++;
                    }
                }
            }
            return;
        }// end function

        protected function doMessage(param1:MessageBlock) : void
        {
            switch(param1.messageHead.command)
            {
                case ECmdBroadCast._ECmdBroadcastEntityInfo:
                case ECmdBroadCast._ECmdBroadcastEntityInfos:
                case ECmdBroadCast._ECmdBroadcastEntityMoveInfo:
                case ECmdBroadCast._ECmdBroadcastEntityDiversion:
                case ECmdBroadCast._ECmdBroadcastEntityConfusedPoint:
                case ECmdBroadCast._ECmdBroadcastEntityLeftInfo:
                case ECmdBroadCast._ECmdBroadcastEntityLeftInfos:
                case ECmdBroadCast._ECmdBroadcastEntityAttributeUpdate:
                case ECmdBroadCast._ECmdBroadcastEntityAttributeUpdates:
                case ECmdBroadCast._ECmdBroadcastEntityGuildIdUpdate:
                case ECmdBroadCast._ECmdBroadcastEntityGroupIdUpdate:
                case ECmdBroadCast._ECmdBroadcastEntityDoFight:
                case ECmdBroadCast._ECmdBroadcastEntityDoFights:
                case ECmdBroadCast._ECmdBroadcastEntityBeginFight:
                case ECmdBroadCast._ECmdBroadcastEntitySkillCast:
                case ECmdCoreCommand._ECmdCoreKillUser:
                case ECmdBroadCast._ECmdBroadcastDropEntityInfos:
                case ECmdBroadCast._ECmdBroadcastDropEntityInfo:
                case ECmdBroadCast._ECmdBroadcastEntityBeginCollect:
                case ECmdBroadCast._ECmdBroadcastEntityFlashInfo:
                case EPublicCommand._ECmdPublicFightTargetPosReset:
                case EPublicCommand._ECmdPublicPetResetPoint:
                case EPublicCommand._ECmdPublicRoleMoveTo:
                case EPublicCommand._ECmdPublicRoleConfusedPoint:
                case ECmdBroadCast._ECmdBroadcastEntityOwner:
                case ECmdBroadCast._ECmdBroadcastMapEntity:
                case EPublicCommand._ECmdPublicEntityKillerInfo:
                case ECmdBroadCast._ECmdBroadcastEntityJumpPoint:
                case ECmdBroadCast._ECmdBroadcastEntityJump:
                case ECmdBroadCast._ECmdBroadcastEntitySomersault:
                case EPublicCommand._ECmdPublicRoleSomersault:
                case EPublicCommand._ECmdPublicRoleJumpPoint:
                case EPublicCommand._ECmdPublicRoleJump:
                case ECmdBroadCast._ECmdBroadcastEntityStop:
                case EPublicCommand._ECmdPublicCrossPassPointMsg:
                case EPublicCommand._ECmdPublicTestBossThreat:
                case EPublicCommand._ECmdPublicCollectBegin:
                case EPublicCommand._ECmdPublicCollectEnd:
                case EPublicCommand._ECmdPublicWaitingInfo:
                case EPublicCommand._ECmdPublicCopyRoomOper:
                case EGateCommand._ECmdGateRune:
                case EPublicCommand._ECmdPublicDramaStepMsg:
                case EPublicCommand._ECmdPublicPlayerCopyInfo:
                case EPublicCommand._ECmdPublicCheckCoordinate:
                case EPublicCommand._ECmdPublicDramaStart:
                case EPublicCommand._ECmdPublicDramaEnd:
                case EPublicCommand._ECmdPublicShareGuildTask:
                case EPublicCommand._ECmdPublicGetOrangeGuildTask:
                case EPublicCommand._ECmdPublicDemandShareTask:
                case ECmdBroadCast._ECmdBroadcastMapSharp:
                case EGateCommand._ECmdGatePlayerSuitUpdate:
                case EGateCommand._ECmdGatePlayerInviteZazen:
                case EGateCommand._ECmdGatePlayerReplayZazen:
                case EGateCommand._ECmdGatePlayerZazenEarnings:
                case ECmdBroadCast._ECmdBroadcastEntityZazenUpdate:
                case EGateCommand._ECmdGateRevivalPropNotEnough:
                case EGateCommand._ECmdGateConveyPropNotEnough:
                case EGateCommand._ECmdGateTaskChapterInfo:
                case EGateCommand._ECmdGateTaskExecuteNum:
                case EGateCommand._ECmdGateDaliyViewInfo:
                case EGateCommand._ECmdGateFinalTestRewardInfo:
                case EPublicCommand._ECmdPublicActiveToClient:
                case EPublicCommand._ECmdPublicOpenPeaceBoss:
                case EPublicCommand._ECmdPublicClosePeaceBoss:
                case EPublicCommand._ECmdPublicPeaceBossScore:
                case EPublicCommand._ECmdPublicPeaceBossBattleBegin:
                case EPublicCommand._ECmdPublicPeaceBossSelfScore:
                case EPublicCommand._ECmdPublicPeaceBossRefreshEnd:
                case EPublicCommand._ECmdPublicRoulette:
                case EGateCommand._ECmdGateTaskGuildColor:
                case EPublicCommand._ECmdPublicQuestionBegin:
                case EPublicCommand._ECmdPublicAReallocation:
                case EGateCommand._ECmdGateItemUseNumInfo:
                case EPublicCommand._ECmdPublicOpenMainCityBattle:
                case EPublicCommand._ECmdPublicCloseMainCityBattle:
                case EPublicCommand._ECmdPublicMainCityBattleGuildScore:
                case EPublicCommand._ECmdPublicMainCityBattlePlayerScore:
                case EPublicCommand._ECmdPublicMainCityBattleResult:
                case EPublicCommand._ECmdPublicMainCityBattle2GuildScore:
                case EPublicCommand._ECmdPublicMainCityBattle2PlayerScore:
                case EPublicCommand._ECmdPublicMainCityBattle2Result:
                case EPublicCommand._ECmdPublicMainCityBattle2Reward:
                case EPublicCommand._ECmdPublicMainCityBattle2PickFlag:
                case EPublicCommand._ECmdPublicMainCityBattle2LostFlag:
                case EPublicCommand._ECmdPublicMainCityBattleOpenToday:
                case EPublicCommand._ECmdPublicMainCityOpen:
                case EPublicCommand._ECmdPublicMainCityClose:
                case EPublicCommand._ECmdPublicMainCityStatues:
                case EPublicCommand._ECmdPublicMainCityRevenueProfit:
                {
                    NetDispatcher.dispatchCmd(param1.messageHead.command, param1);
                    break;
                }
                default:
                {
                    this._broadCastManager.call(param1.messageHead.command, param1);
                    break;
                    break;
                }
            }
            return;
        }// end function

    }
}
